import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router.js'
import store from './store/index.js'
import iconSvg from './views/components/svg/index.vue'
Vue.prototype.$EventBus = new Vue()
Vue.prototype.$store = store
Vue.prototype.$message = ElementUI.Message
Vue.config.productionTip = false

Vue.use(ElementUI);
Vue.component(iconSvg.name, iconSvg)

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')